package com.wgchao.identityrightsmanagement.domain.organization.repository;

import com.wgchao.identityrightsmanagement.domain.BaseRepository;
import com.wgchao.identityrightsmanagement.domain.organization.model.Account;
import java.util.List;

public interface AccountRepository extends BaseRepository<Account, String> {
    List<Account> findByAgency(String agencyCode);
    List<Account> findByDepartment(String departmentCode);

    void resetDepartment(String departmentCode);
}
